package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.UserCurrentUnits;
import com.danciyixue.boot.dcyx.model.form.UserCurrentUnitsForm;
import com.danciyixue.boot.dcyx.model.vo.UserCurrentUnitsVO;

/**
 * 用户当前选择单元信息对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 16:36
 */
@Mapper(componentModel = "spring")
public interface UserCurrentUnitsConverter{

    UserCurrentUnitsForm toForm(UserCurrentUnits entity);

    UserCurrentUnits toEntity(UserCurrentUnitsForm formData);

    UserCurrentUnitsVO toVO(UserCurrentUnits entity);
}
